package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 15:30
 */
@Entity
@Table(name = "reg_register")
public class RegRegister extends BaseEntity{
    @Id
    private String code;//挂号序号PK [CODE, VARCHAR2, 32]
    private String patientCode;//病人编码 [PATIENT_CODE, VARCHAR2, 32]
    private String regDataSource;//挂号数据来源;1本系统2微信3支付宝4自助机 [REG_DATA_SOURCE, VARCHAR2, 1]
    private String regModeCode;//挂号方式;1普通挂号2现场取号 [REG_MODE_CODE, VARCHAR2, 32]
    private String regTypeCode;//挂号种类 [REG_TYPE_CODE, VARCHAR2, 32]
    private String patCostcateCode;//病人费别 [PAT_COSTCATE_CODE, VARCHAR2, 32]
    private String visitType;//就诊类别;1初诊2复诊 [VISIT_TYPE, VARCHAR2, 1]
    private String consRoomCode;//诊室编码;就诊窗口 [CONS_ROOM_CODE, VARCHAR2, 32]
    private Date regDate;//挂号日期 [REG_DATE, DATE, 7]
    private Date regOffdate;//挂号有效日期 [REG_OFFDATE, DATE, 7]
    private String regDepartCode;//挂号科室编码 [REG_DEPART_CODE, VARCHAR2, 32]
    private String regDoctorCode;//挂号医生编码 [REG_DOCTOR_CODE, VARCHAR2, 32]
    private String regSettlementCode;//挂号结算记录编码 [REG_SETTLEMENT_CODE, VARCHAR2, 32]
    private String refSettlementCode;//退号结算记录编码 [REF_SETTLEMENT_CODE, VARCHAR2, 32]
    private String insCate;//保险类别 [INS_CATE, VARCHAR2, 32]
    private String insCompCode;//保险机构 [INS_COMP_CODE, VARCHAR2, 32]
    private String isConsulting;//是否接诊;1-是 2-否 [IS_CONSULTING, VARCHAR2, 1]
    private String tstatus;//状态;1-正常 2-已退号 [TSTATUS, VARCHAR2, 1]
    private String isDoctorReg;//是否医生挂号;1是2否；该挂号不收取挂号费，仅仅记录挂号信息，方便后续处理 [IS_DOCTOR_REG, VARCHAR2, 1]
    private String createUser;//创建人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPatientCode() {
        return patientCode;
    }

    public void setPatientCode(String patientCode) {
        this.patientCode = patientCode;
    }

    public String getRegDataSource() {
        return regDataSource;
    }

    public void setRegDataSource(String regDataSource) {
        this.regDataSource = regDataSource;
    }

    public String getRegModeCode() {
        return regModeCode;
    }

    public void setRegModeCode(String regModeCode) {
        this.regModeCode = regModeCode;
    }

    public String getRegTypeCode() {
        return regTypeCode;
    }

    public void setRegTypeCode(String regTypeCode) {
        this.regTypeCode = regTypeCode;
    }

    public String getPatCostcateCode() {
        return patCostcateCode;
    }

    public void setPatCostcateCode(String patCostcateCode) {
        this.patCostcateCode = patCostcateCode;
    }

    public String getVisitType() {
        return visitType;
    }

    public void setVisitType(String visitType) {
        this.visitType = visitType;
    }

    public String getConsRoomCode() {
        return consRoomCode;
    }

    public void setConsRoomCode(String consRoomCode) {
        this.consRoomCode = consRoomCode;
    }

    public Date getRegDate() {
        return regDate;
    }

    public void setRegDate(Date regDate) {
        this.regDate = regDate;
    }

    public Date getRegOffdate() {
        return regOffdate;
    }

    public void setRegOffdate(Date regOffdate) {
        this.regOffdate = regOffdate;
    }

    public String getRegDepartCode() {
        return regDepartCode;
    }

    public void setRegDepartCode(String regDepartCode) {
        this.regDepartCode = regDepartCode;
    }

    public String getRegDoctorCode() {
        return regDoctorCode;
    }

    public void setRegDoctorCode(String regDoctorCode) {
        this.regDoctorCode = regDoctorCode;
    }

    public String getRegSettlementCode() {
        return regSettlementCode;
    }

    public void setRegSettlementCode(String regSettlementCode) {
        this.regSettlementCode = regSettlementCode;
    }

    public String getRefSettlementCode() {
        return refSettlementCode;
    }

    public void setRefSettlementCode(String refSettlementCode) {
        this.refSettlementCode = refSettlementCode;
    }

    public String getInsCate() {
        return insCate;
    }

    public void setInsCate(String insCate) {
        this.insCate = insCate;
    }

    public String getInsCompCode() {
        return insCompCode;
    }

    public void setInsCompCode(String insCompCode) {
        this.insCompCode = insCompCode;
    }

    public String getIsConsulting() {
        return isConsulting;
    }

    public void setIsConsulting(String isConsulting) {
        this.isConsulting = isConsulting;
    }

    public String getTstatus() {
        return tstatus;
    }

    public void setTstatus(String tstatus) {
        this.tstatus = tstatus;
    }

    public String getIsDoctorReg() {
        return isDoctorReg;
    }

    public void setIsDoctorReg(String isDoctorReg) {
        this.isDoctorReg = isDoctorReg;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
